<template>
    <div class="content recordDiary">
      <img src="img/1.jpg" alt="" />
      <div id="box">
        <button id="left" @click="right('ruleForm2')" >向左</button>
        <button id="right">向右</button>
        <button id="begin">自动开始</button>
        <button id="stop">停止</button>

      </div>
    </div>
</template>

<script>
//记录日记
export default {
  name: "recordDiary",
  data(){
    return{

    }
  },
  methods:{
     right(){
       index++;
       index = index < 0 ? imgs.length - 1 : index;
       $.cookie("rmbUser", "true", { expires: 7 });
     },
   }
};
</script>

<style lang="less">

</style>
